package ott

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// YoukuOttPlayserviceGetplayurlAPIResponse 获取播放串地址 API返回值
// youku.ott.playservice.getplayurl
//
// 获取播放串地址服务
type YoukuOttPlayserviceGetplayurlAPIResponse struct {
	model.CommonResponse
	YoukuOttPlayserviceGetplayurlAPIResponseModel
}

// YoukuOttPlayserviceGetplayurlAPIResponseModel is 获取播放串地址 成功返回结果
type YoukuOttPlayserviceGetplayurlAPIResponseModel struct {
	XMLName xml.Name `xml:"youku_ott_playservice_getplayurl_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *PlayUrlV2Vo `json:"result,omitempty" xml:"result,omitempty"`
}
